/**
 * @Author Stringzhua
 * @Date 2024/1/31 16:14
 * description:
 * 0+5=5
 * 1+4=5
 * 2+3=5
 * 3+2=5
 * 4+1=5
 * 5+0=5
 */
public class ForExercise02 {
    //化繁为简、先死后活
    public static void main(String[] args) {
        int n = 5;
        for (int i = 0; i <= n; i++) {
            System.out.println(i + "+" + (n - i) + "=" + n);
        }
    }
}
